package com.xishu.entity.customer;

import com.xishu.annotation.lang.Lang;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Lob;
import java.io.Serializable;

/**
 * 商家的配置会直接写到商家里面，不再单独建立表
 */
public class CompanyConfig implements Serializable {
    private static final long serialVersionUID = 736640327424294806L;

    @ApiModelProperty(value = "会员功能开启")
    private Boolean customerOpen;

    @ApiModelProperty(value = "欢迎设置")
    @Lang(key = "welcome")
    private String welcome_zh;

    @ApiModelProperty(value = "欢迎设置")
    @Lang(key = "welcome")
    //phone email nickname sex birthday age preference renewurl
    private String welcome_en;

    @ApiModelProperty(value = "邮件密码设置")
    private Boolean emailPassword;

    @ApiModelProperty(value = "邮件验证码码登录")
    private Boolean emailToken;

    @ApiModelProperty(value = "手机密码设置")
    private Boolean phonePassword;

    @ApiModelProperty(value = "手机验证码码登录")
    private Boolean phoneToken;

    @ApiModelProperty(value = "积分兑换开启")
    private Boolean scoreExchange;

    @ApiModelProperty(value = "邮件发送人")
    private String sendNameInEmail;

    @ApiModelProperty(value = "会员等级说明")
    @Lang(key = "levelDesc")
    private String levelDesc_zh;

    @ApiModelProperty(value = "会员等级说明")
    @Lang(key = "levelDesc")
    private String levelDesc_en;

    @ApiModelProperty(value = "VIP的Banner图")
    private String vipBanner;

    @ApiModelProperty(value = "vip 功能是否启用")
    private Boolean vipEnable;

    public Boolean getVipEnable() {
        return vipEnable;
    }

    public void setVipEnable(Boolean vipEnable) {
        this.vipEnable = vipEnable;
    }

    public String getVipBanner() {
        return vipBanner;
    }

    public void setVipBanner(String vipBanner) {
        this.vipBanner = vipBanner;
    }

    public String getLevelDesc_zh() {
        return levelDesc_zh;
    }

    public void setLevelDesc_zh(String levelDesc_zh) {
        this.levelDesc_zh = levelDesc_zh;
    }

    public String getLevelDesc_en() {
        return levelDesc_en;
    }

    public void setLevelDesc_en(String levelDesc_en) {
        this.levelDesc_en = levelDesc_en;
    }

    public String getSendNameInEmail() {
        return sendNameInEmail;
    }

    public void setSendNameInEmail(String sendNameInEmail) {
        this.sendNameInEmail = sendNameInEmail;
    }

    public Boolean getCustomerOpen() {
        return customerOpen;
    }

    public void setCustomerOpen(Boolean customerOpen) {
        this.customerOpen = customerOpen;
    }

    public String getWelcome_zh() {
        return welcome_zh;
    }

    public void setWelcome_zh(String welcome_zh) {
        this.welcome_zh = welcome_zh;
    }

    public String getWelcome_en() {
        return welcome_en;
    }

    public void setWelcome_en(String welcome_en) {
        this.welcome_en = welcome_en;
    }

    public Boolean getEmailPassword() {
        return emailPassword;
    }

    public void setEmailPassword(Boolean emailPassword) {
        this.emailPassword = emailPassword;
    }

    public Boolean getEmailToken() {
        return emailToken;
    }

    public void setEmailToken(Boolean emailToken) {
        this.emailToken = emailToken;
    }

    public Boolean getPhonePassword() {
        return phonePassword;
    }

    public void setPhonePassword(Boolean phonePassword) {
        this.phonePassword = phonePassword;
    }

    public Boolean getPhoneToken() {
        return phoneToken;
    }

    public void setPhoneToken(Boolean phoneToken) {
        this.phoneToken = phoneToken;
    }

    public Boolean getScoreExchange() {
        return scoreExchange;
    }

    public void setScoreExchange(Boolean scoreExchange) {
        this.scoreExchange = scoreExchange;
    }

}
